<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="sec"
	uri="http://www.springframework.org/security/tags"%>
<%@ taglib prefix="enum" uri="http://www.daxia.com/enum"%>
<style>
.memberlist .row {
	background: #fff;
	border-bottom: 1px solid #ccc;
	padding: 10px 0;
	margin-left: 0px;
}
</style>
<%@include file="/common/head.jsp"%>

<c:set var="module" value="order" />
<body class="gray-bg">
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="tab-content">
						<div id="companybox">
							<div id="wizard" style="width: 70%; margin-top: 20px;">
								<form action="${ctx }/admin/designer/saveAudit?id=${n.id }" id="detail-form" class="form-horizontal" method="post">
									<input type="hidden" id="userId" />
									<fieldset style="position: relative;">
										<div class="row">
							               <div class="col-sm-12">
							                   <div class="form-group">
							                       <label>真实姓名*</label>
							                       <input id="user.realName" type="text" class="form-control required" value="${n.user.realName }">
							                   </div>
							                   <div class="form-group">
							                       <label>性别 *</label>
							                       ${enum:detail('Sex', 'sex', n.user.sex) }
							                   </div>
							                   <div class="form-group">
							                       <label>年龄*</label>
							                       <input id="age" name="age" type="number" class="form-control" value="${n.user.age }">
							                   </div>
							                   <div class="form-group">
							                       <label>从业年限 *</label>
							                       <input id="workAge" name="workAge" type="number" class="form-control" value="${n.workAge }">
							                   </div>
							                   <div class="form-group">
							                       <label>所在公司*</label>
							                       <input id="company" name="company" type="text" class="form-control" value="${n.company }">
							                   </div>
							                   <div class="form-group">
							                       <label class="form-group">公司所在地 *</label>
							                       <div class="form-group">
								                       <div class="col-sm-4" style="padding-left:0;">
															<select name="province.id" class="form-control required" id="designerProvinceId" onchange="selectProvince(this);">
																<option value="">请选择省份</option>
																<c:forEach items="${provinces }" var="p">
																<option value="${p.id }" ${n.province.id eq p.id ? 'selected' : '' }>${p.name }</option>
																</c:forEach>
															</select>						                 	
										             	</div>	
														<div class="col-sm-4">
										                 	<select name="city.id" class="form-control required" id="designerCityId" onchange="selectCity(this);">
										                 		<c:if test="${empty(n.city.id) }">
										                 		<option value="">请选择城市</option>
										                 		</c:if>
										                 		<c:if test="${not empty(n.city.id) }">
										                 		<option value="${n.city.id }">${n.city.name }</option>
										                 		</c:if>
															</select>	
											             </div>	
														<div class="col-sm-4">
										                 	<select name="district.id" class="form-control required" id="designerDistrictId">
										                 	<c:if test="${empty(n.district.id) }">
										                 		<option value="">请选择区县</option>
										                 	</c:if>
											                 	<c:if test="${not empty(n.district.id) }">
											                 		<option value="${n.district.id }">${n.district.name }</option>
										                 		</c:if>
															</select>
											             </div>	
											        </div>
							                   </div>
							                   <div class="form-group">
							                       <label>备注</label>
							                       <input id="remark" name="remark" type="text" class="form-control" value="${n.remark }">
							                   </div>
							                   <!-- <div class="form-group">
							                   		<label>验证码*</label>
							                   		<input id="confirm" name="confirm" type="text" class="form-control">
							                   </div> -->
							                   <div class="form-group">
													<label>审核结果</label> ${enum:detail('AuditStatus', 'auditStatus', n.auditStatus) }
												</div>
												<div class="form-group">
													<label>审核备注</label> <input id="auditRemark" name="auditRemark"
														type="text" class="form-control">
												</div>
							               </div>
							           </div>
									</fieldset>
								</form>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>

	<%@include file="/common/foot.jsp"%>
	<script>
</script>
</body>
</html>